package com.ftdigital.primemovers_operators.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Curry on 2015-12-25.
 * 未完成历史订单
 */
public class AddOilUnfinishHistory implements Serializable {

    /**
     * flag : true
     * data : [{"car_num":"京A8888","time":"18:36:26","price":286,"company_name":"河北物流公司","status":0,"qty":"65.00L","is_evaluate":"true","order_id":17,"type":"0# 柴油#柴油","date":"2015-12-28","order_no":"1451298965081","car_type":"17.5"},{"car_num":"京A8888","time":"18:36:26","price":286,"company_name":"河北物流公司","status":0,"qty":"65.00L","is_evaluate":"true","order_id":17,"type":"0# 柴油#柴油","date":"2015-12-28","order_no":"1451298965081","car_type":"17.5"},{"car_num":"京A8888","time":"18:36:26","price":286,"company_name":"河北物流公司","status":0,"qty":"65.00L","is_evaluate":"true","order_id":17,"type":"0# 柴油#柴油","date":"2015-12-28","order_no":"1451298965081","car_type":"17.5"},{"car_num":"京A8888","time":"18:31:47","price":8.8,"company_name":"河北物流公司","status":0,"qty":"2.00L","is_evaluate":"false","order_id":16,"type":"0 柴油#柴油","date":"2015-12-28","order_no":"1451298707207","car_type":"17.5"},{"car_num":"京A8888","time":"18:30:01","price":22,"company_name":"河北物流公司","status":0,"qty":"5.00L","is_evaluate":"false","order_id":15,"type":"0 柴油#柴油","date":"2015-12-28","order_no":"1451298601432","car_type":"17.5"},{"car_num":"京A8888","time":"18:29:42","price":8.8,"company_name":"河北物流公司","status":0,"qty":"2.00L","is_evaluate":"false","order_id":14,"type":"0 柴油#柴油","date":"2015-12-28","order_no":"1451298581854","car_type":"17.5"}]
     * msg : 成功
     */
    private boolean flag;
    private List<ListEntity> data = new ArrayList<>();
    private String msg;

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public void setData(List<ListEntity> data) {
        this.data = data;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public List<ListEntity> getData() {
        return data;
    }

    public String getMsg() {
        return msg;
    }

    public class DataEntity {
        /**
         * car_num : 京A8888
         * time : 18:36:26
         * price : 286
         * company_name : 河北物流公司
         * status : 0
         * qty : 65.00L
         * is_evaluate : true
         * order_id : 17
         * type : 0# 柴油#柴油
         * date : 2015-12-28
         * order_no : 1451298965081
         * car_type : 17.5
         */
        private String car_num;
        private String time;
        private int price;
        private String company_name;
        private int status;
        private String qty;
        private String is_evaluate;
        private int order_id;
        private String type;
        private String date;
        private String order_no;
        private String car_type;

        public void setCar_num(String car_num) {
            this.car_num = car_num;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public void setCompany_name(String company_name) {
            this.company_name = company_name;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public void setIs_evaluate(String is_evaluate) {
            this.is_evaluate = is_evaluate;
        }

        public void setOrder_id(int order_id) {
            this.order_id = order_id;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public void setOrder_no(String order_no) {
            this.order_no = order_no;
        }

        public void setCar_type(String car_type) {
            this.car_type = car_type;
        }

        public String getCar_num() {
            return car_num;
        }

        public String getTime() {
            return time;
        }

        public int getPrice() {
            return price;
        }

        public String getCompany_name() {
            return company_name;
        }

        public int getStatus() {
            return status;
        }

        public String getQty() {
            return qty;
        }

        public String getIs_evaluate() {
            return is_evaluate;
        }

        public int getOrder_id() {
            return order_id;
        }

        public String getType() {
            return type;
        }

        public String getDate() {
            return date;
        }

        public String getOrder_no() {
            return order_no;
        }

        public String getCar_type() {
            return car_type;
        }
    }
}
